#include<iostream>
#include<conio.h>
using namespace std;

int main(void)
{

char a[]="12345";
char b[]="54321";
char s[6];
int c=0 , temp = 0;

for(int i=0;i<6;i++)
{
temp = (a[i]-48) + (b[i]-48) + c;
if(temp>9)
{
c = temp % 10;
temp = temp/10;
}
s[i] = temp+48;
}
s[5]='\0';


getch();
return 0;
}
